Integrand size = 13, antiderivative size = 18 \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=i x+i \cot (x)+\log (\cos (x))+\log (\tan (x)) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3597, 46} \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=i x+i \cot (x)+\log (\tan (x))+\log (\cos (x)) \]
[In]
[Out]
Rule 46
Rule 3597
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {1}{x^2 (i+x)} \, dx,x,\tan (x)\right ) \\ & = \text {Subst}\left (\int \left (\frac {1}{-i-x}-\frac {i}{x^2}+\frac {1}{x}\right ) \, dx,x,\tan (x)\right ) \\ & = i x+i \cot (x)+\log (\cos (x))+\log (\tan (x)) \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.83 \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=i x+i \cot (x)+\log (\sin (x)) \]
[In]
[Out]
Time = 2.97 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.11
method | result | size |
default | \(\ln \left (\tan \left (x \right )\right )+\frac {i}{\tan \left (x \right )}-\ln \left (i+\tan \left (x \right )\right )\) | \(20\) |
risch | \(-\frac {2}{{\mathrm e}^{2 i x}-1}+\ln \left ({\mathrm e}^{2 i x}-1\right )\) | \(21\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.39 \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=\frac {{\left (e^{\left (2 i \, x\right )} - 1\right )} \log \left (e^{\left (2 i \, x\right )} - 1\right ) - 2}{e^{\left (2 i \, x\right )} - 1} \]
[In]
[Out]
\[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=\int \frac {\csc ^{2}{\left (x \right )}}{\tan {\left (x \right )} + i}\, dx \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.94 \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=\frac {i}{\tan \left (x\right )} - \log \left (\tan \left (x\right ) + i\right ) + \log \left (\tan \left (x\right )\right ) \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.00 \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=\frac {i}{\tan \left (x\right )} - \log \left (\tan \left (x\right ) + i\right ) + \log \left ({\left | \tan \left (x\right ) \right |}\right ) \]
[In]
[Out]
Time = 4.67 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.06 \[ \int \frac {\csc ^2(x)}{i+\tan (x)} \, dx=\mathrm {atan}\left (2\,\mathrm {tan}\left (x\right )+1{}\mathrm {i}\right )\,2{}\mathrm {i}+\frac {1{}\mathrm {i}}{\mathrm {tan}\left (x\right )} \]
[In]
[Out]